<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Ingham's BBS</title>
<link href="css/forum.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="head">
<script type="text/javascript">
var userName = new String();
userName = ('<%=session.getAttribute("login_user")%>'); 
if ( userName == null ){
	document.write('<div id="login"><form action="validateuser.jsp" method="post">Username:<input name="username" type="text" />Password:<input name="password" type="password" /><input name="Sign in" type="submit" value="LOG IN" />	</form></br>	LOGIN OR <a href="signup.jsp">BECOME A MEMBER FREE</a>	</div>');
} else{
	document.write('<div id="login"> Welcome '+userName+' <a href="">Log out</a></div>');
}
</script>
  
</div>
<div id="content">
<table width="800" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td width="380">Forum</td>
    <td width="255">Last Post</td>
    <td width="70">Threads</td>
    <td width="80">Posts</td>
  </tr>
</table>

<table id="forum" width="800" border="0" cellspacing="0" cellpadding="5">
  <tr id="forumline1">
    <td width="380">Forum A</td>
    <td width="255">&nbsp;</td>
    <td width="70">&nbsp;</td>
    <td width="80">&nbsp;</td>
  </tr>
  <tr>
    <td><a href="boning.jsp">Boning</a></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>DSI</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table id="forum" width="800" border="0" cellspacing="0" cellpadding="5">
  <tr id="forumline1">
    <td width="380">Forum B</td>
    <td width="255">&nbsp;</td>
    <td width="70">&nbsp;</td>
    <td width="80">&nbsp;</td>
  </tr>
  <tr>
    <td>KFC</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>Injector</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</div>
</body>
</html>